﻿using BPMN.Application.Contracts.DTO.Request.Brands;
using BPMN.Application.Contracts.DTO.Request.RepairOrders;
using BPMN.Application.Contracts.DTO.Request.Role;
using BPMN.Application.Contracts.DTO.Response;
using BPMN.Application.Contracts.DTO.Response.Brands;
using BPMN.Domain.Entity.EmployeePerformance;
using BPMN.Domain.Entity.RepairOrders;
using BPMN.Domain.Entity.User;
using BPMN.DomianShare;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BPMN.Application.IService
{
    public interface IRepairOrdersAppService : IScoped
    {
        Task<ResultResponseDto<List<RepairOrdersRequestDto>>> GetRepairOrders(string? RName, string? Rremark, string? EName);

        Task<ResultResponseDto<List<RepairOrdersRequestDto>>> GetRepairs();

        Task<ResultResponseDto<int>> AddRepairOrders(RepairOrdersRequestDto entity);

        Task<ResultResponseDto<RepairOrdersRequestDto>> GetRepairOrdersById(int Rid);

        Task<ResultResponseDto<int>> UpdateRepairOrders(RepairOrdersRequestDto entity);

        Task<ResultResponseDto<List<Brands>>> GetBrandsList();
    }
}

